package com.mbg17.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @TableName t_system_module
 */
@TableName(value = "t_system_module")
@JsonIgnoreProperties(value = {"handler"})
@Data
public class SystemModule extends BaseDomain implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 系统ID
     */
    private Integer systemId;

    /**
     * 模块名称
     */
    private String moduleName;

    @TableField(exist = false)
    private List<Interface> interfaces;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return "SystemModule{" +
                "id=" + id +
                ", systemId=" + systemId +
                ", moduleName='" + moduleName + '\'' +
                '}';
    }
}